package com.example.demo.entity;

import javax.xml.crypto.Data;

public class Comment {

    private int commentid;
    private int ideaid;
    private String openid;
    private String contentdetails;
    private String  commentdata;

    private Open open;

    public Open getOpen() {
        return open;
    }

    public void setOpen(Open open) {
        this.open = open;
    }

    public int getCommentid() {
        return commentid;
    }

    public void setCommentid(int commentid) {
        this.commentid = commentid;
    }

    public int getIdeaid() {
        return ideaid;
    }

    public void setIdeaid(int ideaid) {
        this.ideaid = ideaid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getContentdetails() {
        return contentdetails;
    }

    public void setContentdetails(String contentdetails) {
        this.contentdetails = contentdetails;
    }

    public String getCommentdata() {
        return commentdata;
    }

    public void setCommentdata(String commentdata) {
        this.commentdata = commentdata;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "commentid=" + commentid +
                ", ideaid=" + ideaid +
                ", openid='" + openid + '\'' +
                ", contentdetails='" + contentdetails + '\'' +
                ", commentdata=" + commentdata +
                '}';
    }
}
